package com.building.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
@author yinjiahui
@create 2021-04-07 19:22
*/
@ApiModel(value="com-building-entity-EngineeringType")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "material_engineering_type")
public class EngineeringType implements Serializable {
    /**
     * 工程项目类别id         YJH
     */
    @TableId(value = "engineering_type_id", type = IdType.AUTO)
    @ApiModelProperty(value="工程项目类别id")
    private Integer engineeringTypeId;

    /**
     * 工程项目类别name
     */
    @TableField(value = "engineering_type_name")
    @ApiModelProperty(value="工程项目类别name")
    private String engineeringTypeName;

    /**
     * 逻辑删除 0 否 1 是 
     */
    @TableField(value = "is_del")
    @ApiModelProperty(value="逻辑删除 0 否 1 是 ")
    private Integer isDel;

    /**
     * 创建时间
     */
    @TableField(value = "create_date")
    @ApiModelProperty(value="创建时间")
    private Date createDate;

    /**
     * 修改时间
     */
    @TableField(value = "update_date")
    @ApiModelProperty(value="修改时间")
    private Date updateDate;

    private static final long serialVersionUID = 1L;
}